<template>
  <div class="scheme-banner-framework">
    <div class="container">
      <Title
        v-slide-up
        title="架构与部署"
        color="#0e0b31"
        size="16"
        bold="700"
        sub-title="Architecture and Deployment"
        sub-color="#878597"
        sub-size="14"
        left="27"
        block="#4580dd"
        block-width="2"
        block-pos="center"
      />
      <div class="framework">
        <img v-slide-plus :src="data.image" />
        <div class="framework-right">
          <div
            v-slide-up
            v-for="(item, index) in data.list"
            :key="index"
            class="framework-item"
          >
            {{ item.introduce }}
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script setup lang="ts">
defineProps({
  data: {
    type: Object,
    default: () => {
      return {
        list: "",
        image: "",
      };
    },
  },
});
</script>
<style lang="scss" scoped>
.scheme-banner-framework {
  width: 100%;
  background-color: #fff;
  position: relative;
  .container {
    padding: 30px 0;
    .framework {
      display: flex;
      justify-content: center;
      margin-top: 20px;
      img {
        width: 416px;
        height: 198px;
      }
      .framework-right {
        flex: 1;
        margin-left: 50px;
        padding: 10px;
        .framework-item {
          font-size: 14px;
          letter-spacing: 0px;
          color: #808080;
          margin-bottom: 20px;
          position: relative;
          &:last-child {
            margin-bottom: 0;
          }
          &::before {
            content: "";
            position: absolute;
            left: -20px;
            top: 5px;
            width: 8px;
            height: 8px;
            background: #3266e4;
          }
        }
      }
    }
  }
}
</style>
